class MemberProfile {
    Date      dateCreated
    Date      lastUpdated
    String    resume
    String    title
    String    photo
    List      expertise
    
    //static belongsTo=[member:Person]
    static hasMany=[categories:Category, blogs:Content, freinds:Person]

    static constraints={
        resume(blank:false,widget:'textarea', maxSize:5000, nullable:true)
        title(blank:false, nullable:true)
        photo(nullable:true)

    }
}
